package com.ruoyi.meeting.aspect;

import com.ruoyi.meeting.dto.TmdMeetingDto;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * 功能:
 * 作者:胡丁一
 * 日期:2024/4/25 20:32
 */
@Aspect
@Component
public class TmdMeetingPersonAspect {
    @Pointcut("execution(* com.ruoyi.meeting.service.impl.TmdMeetingApplicationServiceImpl.insertTmdMeetingApplication(..))")
    public void myMethod(){

    }

//    @After("myMethod()")
//    public void afterMyMethod(JoinPoint joinPoint){
//        TmdMeetingDto arg = (TmdMeetingDto) joinPoint.getArgs()[0];
//        System.out.println(arg.getId());
//    }
}